Skip to main content

FlowPushNotification Constructors

An object defining constructors for the FlowPushNotification class.

FlowPushNotification(name, workflowData, workflowCodeInstance)

Initializes a new instance of the FlowPushNotification class with a name, workflow data, and workflow code instance.

Parameters:

name (required): string
The name of the push notification step.

workflowData (required): IRuntimeWorkflowData
The runtime workflow data.

workflowCodeInstance (optional): IWorkflowCode
The workflow code instance to use.


FlowPushNotification(name, workflowData, workflowCodeInstance)

Constructor for the FlowPushNotification class. Initializes a new instance of the FlowPushNotification class.

Parameters:

name (required): string
The name of the flow object.

workflowData (required): IRuntimeWorkflowData
The workflow data associated with the flow object.

workflowCodeInstance (optional): IWorkflowCode
The optional workflow code instance.